/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __53784E1A_1457_4CF5_97C9_FDF6778139A6__
#define __53784E1A_1457_4CF5_97C9_FDF6778139A6__


/////////////////////////////////////////////////////////////////////////////////////////
// 

namespace xos_box
{

    // 
    // i_lock_free_queue interface.
    // 
    class i_lock_free_queue : public xos::i_release
    {
    protected:
        virtual ~i_lock_free_queue(){}

    public:
        virtual int push_back( xos::i_release* pT ) = 0;
        virtual xos::i_release * pop_front() = 0;
        virtual int release_all() = 0;
    };
}

#endif // __53784E1A_1457_4CF5_97C9_FDF6778139A6__
